<template>
	<view class="page">
		<view class="">
			
			<u-swiper @click="toInfo" :list="bannerList" height="600" border-radius="10"></u-swiper>
		</view>
		<view class="p10">
			<view class="mt10" @click="toPage('/pages/show/index?img=https://sxdj.zhiyunapi.com/coach/show/image/ce1.jpg&title=儿童过敏评测')">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index1.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage('/pages/show/index?img=https://sxdj.zhiyunapi.com/coach/show/image/ke1.jpg&title=0敏育儿师')">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index2.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index3.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				
				<view class="u-flex" style="overflow: auto;">
					
						<image @click="toPage('/pages/show/index?img=https://sxdj.zhiyunapi.com/coach/show/image/jie1.jpg&title=文章')" class="mr15" src="https://sxdj.zhiyunapi.com/coach/show/image/index4.jpg" style="width:150px;min-width: 150px;" mode="widthFix"></image>
						<image @click="toPage('/pages/show/index?img=https://sxdj.zhiyunapi.com/coach/show/image/jie2.jpg&title=文章')" class="mr15" src="https://sxdj.zhiyunapi.com/coach/show/image/index4.jpg" style="width:150px;min-width: 150px" mode="widthFix"></image>
						<image @click="toPage('/pages/show/index?img=https://sxdj.zhiyunapi.com/coach/show/image/jie1.jpg&title=文章')" class="mr15" src="https://sxdj.zhiyunapi.com/coach/show/image/index4.jpg" style="width:150px;min-width: 150px" mode="widthFix"></image>
				</view>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index5.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index6.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index7.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index8.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
			<view class="mt10" @click="toPage()">
				<image src="https://sxdj.zhiyunapi.com/coach/show/image/index9.jpg" style="width: 100%;" mode="widthFix"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
	
		data() {
			return {
				bannerList: ['https://sxdj.zhiyunapi.com/coach/show/image/banner.jpg','https://sxdj.zhiyunapi.com/coach/show/image/banner1.jpg'],
			}
		},
		onLoad(e) {},
		onShow() {},
		methods: {
			
				toPage(url){
					uni.navigateTo({
						url
					})
				}
		}
	}
</script>

<style lang="scss">
	
</style>